package fina2.dcs.fis;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import javax.persistence.Transient;

@Entity
@Table(name = "IN_BANK_MANAGEMENT")
@SuppressWarnings("serial")
public class BankManagement implements Serializable {
	private BigDecimal id;
	private BigDecimal nameStrId;
	private BigDecimal lastNameStrId;
	private BigDecimal managingBodyId;
	private BigDecimal postStrId;
	private String phone;
	private Date dateOfAppointment;
	private Date cancelDate;
	private BigDecimal regStrId1;
	private BigDecimal regStrId2;
	private BigDecimal regStrId3;
	private BigDecimal commentStrId1;
	private BigDecimal commentStrId2;
	private BigDecimal bankId;

	private String name;
	private String lastName;
	private String post;

	@Id
	@Column(name = "ID")
	public BigDecimal getId() {
		return id;
	}

	public void setId(BigDecimal id) {
		this.id = id;
	}

	@Column(name = "NAMESTRID")
	public BigDecimal getNameStrId() {
		return nameStrId;
	}

	public void setNameStrId(BigDecimal nameStrId) {
		this.nameStrId = nameStrId;
	}

	@Column(name = "LASTNAMESTRID")
	public BigDecimal getLastNameStrId() {
		return lastNameStrId;
	}

	public void setLastNameStrId(BigDecimal lastNameStrId) {
		this.lastNameStrId = lastNameStrId;
	}

	@Column(name = "MANAGINGBODYID")
	public BigDecimal getManagingBodyId() {
		return managingBodyId;
	}

	public void setManagingBodyId(BigDecimal managingBodyId) {
		this.managingBodyId = managingBodyId;
	}

	@Column(name = "POSTSTRID")
	public BigDecimal getPostStrId() {
		return postStrId;
	}

	public void setPostStrId(BigDecimal postStrId) {
		this.postStrId = postStrId;
	}

	@Column(name = "PHONE")
	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "DATEOFAPPOINTMENT")
	public Date getDateOfAppointment() {
		return dateOfAppointment;
	}

	public void setDateOfAppointment(Date dateOfAppointment) {
		this.dateOfAppointment = dateOfAppointment;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "CANCELDATE")
	public Date getCancelDate() {
		return cancelDate;
	}

	public void setCancelDate(Date cancelDate) {
		this.cancelDate = cancelDate;
	}

	@Column(name = "REGISTRATIONSTRID1")
	public BigDecimal getRegStrId1() {
		return regStrId1;
	}

	public void setRegStrId1(BigDecimal regStrId1) {
		this.regStrId1 = regStrId1;
	}

	@Column(name = "REGISTRATIONSTRID2")
	public BigDecimal getRegStrId2() {
		return regStrId2;
	}

	public void setRegStrId2(BigDecimal regStrId2) {
		this.regStrId2 = regStrId2;
	}

	@Column(name = "REGISTRATIONSTRID3")
	public BigDecimal getRegStrId3() {
		return regStrId3;
	}

	public void setRegStrId3(BigDecimal regStrId3) {
		this.regStrId3 = regStrId3;
	}

	@Column(name = "COMMENTSSTRID1")
	public BigDecimal getCommentStrId1() {
		return commentStrId1;
	}

	public void setCommentStrId1(BigDecimal commentStrId1) {
		this.commentStrId1 = commentStrId1;
	}

	@Column(name = "COMMENTSSTRID2")
	public BigDecimal getCommentStrId2() {
		return commentStrId2;
	}

	public void setCommentStrId2(BigDecimal commentStrId2) {
		this.commentStrId2 = commentStrId2;
	}

	@Column(name = "BANKID")
	public BigDecimal getBankId() {
		return bankId;
	}

	public void setBankId(BigDecimal bankId) {
		this.bankId = bankId;
	}

	@Transient
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Transient
	public String getLastName() {
		return lastName;
	}

	public void setLastName(String lastName) {
		this.lastName = lastName;
	}

	@Transient
	public String getPost() {
		return post;
	}

	public void setPost(String post) {
		this.post = post;
	}

}
